﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date, ,>
-- Description:	<Description, ,>
-- =============================================
CREATE FUNCTION [dbo].[f_UIToString]
(
	-- Add the parameters for the function here
	@ui uniqueidentifier
)
RETURNS varchar(100)
AS
BEGIN
	
	declare @str varchar(100)
	set @str = lower(cast(@ui as varchar(100)))
	
	set @str = replace(@str, '-', '')
	
	return @str

END
